package com.home.Entity;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

@Entity
@Proxy(lazy=false)
@Table(name="NHANVIEN")
public class NhanVien {
	
	@Id
	@Column(name="NHV_MASO")
	private long maSo;
	@Column(name="NHV_TEN")
	private String ten;
	@Column(name="NHV_DIACHI")
	private String diaChi;
	@Column(name="NHV_DIENTHOAI")
	private String dienThoai;
	@Column(name="NHV_CMND")
	private String cmnd;
	@Column(name="NHV_MUCLUONG")
	private int mucLuong;
	@Column(name="NHV_GHICHU")
	private String ghiChu;
	@Column(name="NHV_HINHANH")
	private String hinhAnh;
	
	
	
	public long getMaSo() {
		return maSo;
	}
	public void setMaSo(long maSo) {
		this.maSo = maSo;
	}
	public String getTen() {
		return ten;
	}
	public void setTen(String ten) {
		this.ten = ten;
	}
	public String getDiaChi() {
		return diaChi;
	}
	public void setDiaChi(String diaChi) {
		this.diaChi = diaChi;
	}
	public String getDienThoai() {
		return dienThoai;
	}
	public void setDienThoai(String dienThoai) {
		this.dienThoai = dienThoai;
	}
	public String getCmnd() {
		return cmnd;
	}
	public void setCmnd(String cmnd) {
		this.cmnd = cmnd;
	}
	public int getMucLuong() {
		return mucLuong;
	}
	public void setMucLuong(int mucLuong) {
		this.mucLuong = mucLuong;
	}
	public String getGhiChu() {
		return ghiChu;
	}
	public void setGhiChu(String ghiChu) {
		this.ghiChu = ghiChu;
	}
	public String getHinhAnh() {
		return hinhAnh;
	}
	public void setHinhAnh(String hinhAnh) {
		this.hinhAnh = hinhAnh;
	}
	@Override
	public String toString() {
		return getTen();
	}
	
	
}